<?php
    echo  $this->Html->script(array('jquery.min','plugins/icheck/jquery.icheck.min'),array('inline'=>false));
?>
<?php echo $this->Session->flash(); ?>
<?php echo $this->Form->create('User', array('action' => 'login','class'=>'form-validate')); ?>
<div class="control-group">
    <div class="email controls">
        <?php echo $this->Form->input("email" ,array('label' => false,'div' => false,'class'=>"umstyle5 input-block-level" ,'data-rule-required'=>"true",'data-rule-email'=>"true",'autocomplete'=>'off','placeholder'=>"Email / Nome Usuário" ))?>
    </div>
</div>
<div class="control-group">
    <div class="pw controls">
        <?php echo $this->Form->input("password" ,array("type"=>"password",'label' => false,'div' => false,'class'=>"umstyle5 input-block-level",'placeholder'=>"Senha",'data-rule-required'=>"true" ))?>
    </div>
</div>
<div class="submit">
    <?php echo $this->Form->Submit(__('Efetuar Login'),array('class'=>'btn btn-primary'));?>
</div>
<?php echo $this->Form->end(); ?>
<!--<div class="forget">
    <a href="#"><span>Recupera senha?</span></a>
</div>-->
<script>
    document.getElementById("UserEmail").focus();
</script>